from django.urls import path
from . import views

urlpatterns = [
    # 接收拒绝订单/api/v1.0/orders/[int:order_id]/status
    path('api/v1.0/orders/<int:order_id>/status/', views.TakeOrderView.as_view()),

    # 评价订单/api/v1.0/orders/[int:order_id]/comment
    path('api/v1.0/orders/<int:order_id>/comment/', views.EvaluateOrderView.as_view()),

]
